package scala.function

/**
 * 函数式接口
 */
case object FunctionTest01 {
  def main(args: Array[String]): Unit = {

    def getName(name: String): Unit = {
      println("姓名：" + name)
    }

    getName("xiao")


  }
}
